package com.gym.emp.common.datasources;

import com.alibaba.druid.pool.DruidDataSource;
import org.apache.ibatis.datasource.pooled.PooledDataSourceFactory;

/**
 * @author ming
 * 2021/11/10
 * description:设置自定义的Druid数据库连接池
 */
public class MyDruidDataSourceFactory extends PooledDataSourceFactory {


    public MyDruidDataSourceFactory() {
        this.dataSource = new DruidDataSource();
    }
}
